package com.juzi.wopu.query;

import org.apache.commons.lang3.StringUtils;

public class CanteenWantQuery extends BaseQuery{
	private String name;

	public CanteenWantQuery() {
		super("CanteenWant");
	}
	
	@Override
	protected void addWhere() {
		if (StringUtils.isNotBlank(name)) {
			AddWhere("o.name like ?", "%" + name + "%");
		}
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
